using System;
using System.Collections.Generic;
using System.Text;
using Slf.Samples.Shared.ClassLibrary;
using Slf;
using Slf.Resolvers;

namespace ClientOne
{
  class Program
  {
    static void Main(string[] args)
    {
      Console.WriteLine("Invoking the Factorial method on MathsLibrary");
      Console.WriteLine();

      MathsLibrary.Factorial(4);

      Console.WriteLine();
      Console.WriteLine("The 'MathsLib' logger is logging via log4net");
      Console.WriteLine("The 'MathsLib.Detail' logger is logging via NLog");
      Console.WriteLine("This was configured entirely at runtime, see App.config for details");
      Console.WriteLine();
      Console.ReadLine();
    }
  }
}